from django.urls import path
from apps.goods.views import IndexView,ListView,HotView
from apps.goods.views import MeiduoSearchView,DetailView,GoodVisitView

urlpatterns=[
    path('index/',IndexView.as_view()),
    path('list/<int:category_id>/skus/', ListView.as_view()),
    path('hot/<int:category_id>/', HotView.as_view()),
    path('search/', MeiduoSearchView()),
    path('detail/<int:sku_id>/', DetailView.as_view()),
    path('goods/visit/<int:cat_id>/', GoodVisitView.as_view()),

]